package main

import (
	"ChinaDistrictCrawler/util"
	"context"
	"github.com/gogf/gf/v2/os/gcmd"
	"github.com/gogf/gf/v2/os/gctx"
)

func main() {
	command := gcmd.Command{
		Name: "China District Crawler",
		Func: func(ctx context.Context, parser *gcmd.Parser) error {
			util.FetchAll(ctx)
			return nil
		},
	}
	command.Run(gctx.New())
}
